package cn.wolfcode.domain;

import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class SystemDictionaryItem {
    /**
     * 主键
     */
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 序号
     */
    private Integer sequence;

    /**
     * 所属目录
     */
    private Long typeId;

    /**
     * 上级明细
     */
    private SystemDictionaryItem parent;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}